Spread Windows Forms 7.0 Product Documentation
StyleCollection Constructor(String[],Style[])
See Also  Support Options
GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > StyleCollection Class > StyleCollection Constructor : StyleCollection Constructor(String[],Style[])


keys
A Key array to be added to the StyleCollection.
styles
A Style array to be added to the StyleCollection.

Glossary Item Box

Initializes a new instance of the StyleCollection class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal keys() As String, _
   ByVal styles() As Style _
)
Visual Basic (Usage)Copy Code
Dim keys() As String
Dim styles() As Style
 
Dim instance As New StyleCollection(keys, styles)
C# 
public StyleCollection( 
   string[] keys,
   Style[] styles
)

Parameters

keys
A Key array to be added to the StyleCollection.
styles
A Style array to be added to the StyleCollection.

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.